package com.hh.goodsmanage.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.hh.hibernate.dao.inf.Order;
import com.hh.hibernate.util.base.BaseTwoEntity;

@Entity
@Table(name = "GOODS_GOODSMANAGE_OUT")
@Order
public class GoodsmanageOut extends BaseTwoEntity {
	private String goodsmanageId;
	private String outBuyersId;
	private String color;
	private String codeNum;
	private int price;
	private int number;
	private int totalPrice;
	private Date outGoodsDate;

	@Column(length = 36)
	public String getGoodsmanageId() {
		return goodsmanageId;
	}

	public void setGoodsmanageId(String goodsmanageId) {
		this.goodsmanageId = goodsmanageId;
	}

	@Column(length = 36)
	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Column(length = 36, name = "CODE_NUM")
	public String getCodeNum() {
		return codeNum;
	}

	public void setCodeNum(String codeNum) {
		this.codeNum = codeNum;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	@Column(length = 36, name = "TOTAL_PRICE")
	public int getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(int totalPrice) {
		this.totalPrice = totalPrice;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "OUT_GOODS_DATE")
	public Date getOutGoodsDate() {
		return outGoodsDate;
	}

	public void setOutGoodsDate(Date outGoodsDate) {
		this.outGoodsDate = outGoodsDate;
	}

	@Column(length = 36, name = "OUT_BUYERS_ID", nullable = false)
	public String getOutBuyersId() {
		return outBuyersId;
	}

	public void setOutBuyersId(String outBuyersId) {
		this.outBuyersId = outBuyersId;
	}

}